package com.tencent.elife.asyn;

/**
 * @Description 异步任务管理的基类，拥有一个带消息循环的后台工作线程
 * @author zijianlu
 */
public abstract class CancelableTask {
    protected volatile boolean isCanceled = false;

    public void cancel() {
        isCanceled = true;
    }
}
